<%
/*
    if (session.getAttribute("userid") != null) {
        session.invalidate();
        getServletContext().getRequestDispatcher("/MainController?q=index").forward(request, response);
    }
 */
    
 
%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title>AsportoOnline | Accedi</title>
        <style type="text/css">
            @import url("style.css");
        </style>
    </head>
    <body>
        <div class="meister">
            <div class="page">
                <div class="container">
                    <%@ include file="/WEB-INF/common/header.jsp"%>
                    <div class="navigation"> <a href="MainController?q=index">Home</a> </div>        
                    <h1>Accedi</h1>
                    <p>${error}</p>  

                    <form method="POST" action="utente.action?q=login">
                        Email:<input name="email" value="test@a.com"/><br />
                        Password:<input type="password" name="password" value="testtest"/><br />
                        <input type="submit" value="LOGIN" />
                    </form>
                    <%@ include file="/WEB-INF/common/footer.jsp"%>
                </div>
            </div>
        </div>
    </body>
</html>
